package restful.entity;

import jakarta.persistence.Entity;
import jakarta.persistence.NamedQueries;
import jakarta.persistence.NamedQuery;
import jakarta.persistence.Table;
import lombok.Getter;
import lombok.Setter;



@Entity
@Table(name = "T_Category")
@NamedQueries({
        @NamedQuery(name = "Category.findAll", query = "SELECT category FROM Category category"),
})
@Getter
@Setter
public class Category extends IdEntity {
    private String icon;
    private String code;
    private String title;
}

